<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="../../common/tagInclude.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="${basePath}"/>
<link rel="Shortcut Icon" href="${basePath}res/ico/favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${basePath}res/front/css/style_${lg}.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="${basePath}res/front/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="${basePath}res/front/js/style.js"></script>
<title>GuestBook-- ${baseTitle}</title>
</head>
<body>
<%@include file="../include/header-en.jsp"%>
<form action="${basePath}${lg}/gbSay" method="post">
<div class="center son_bg">
  <div class="son_main">
     <div class="son_right">
        <div class="tit"><h2>Loction: <a href="${basePath}${lg}/">Home</a> &gt; <a href="${basePath}${lg}/gb">GuestBook</a></h2></div>
       <div class="conn">
       	<div class="jlinfo">
       		<c:if test="${gbCreate}"><center><font color="red">Sucess,Thanks for you watching!</font></center></c:if>
       		<div class="jltit"><a href="${basePath}${lg}/gbook">See All</a></div>
       		<table  class="jltable" width="100%" cellpadding="0" cellspacing="0" border="0">
             <tr>
               <th><span class="cred">*</span> UserName： </th>	
               <td><input type="text" name="gbUsername" id="gbUsername" class="input w300" value="${gb.gbUsername}" />
	               <c:choose>
	               	<c:when test="${errorUserName}"><span class="red">UserName is not format</span></c:when>
	               	<c:otherwise><span class="grey">Not Empty(Length < 10)</span></c:otherwise>
	               </c:choose>
               </td>
             </tr>
             <tr>
               <th><span class="cred">*</span> Email： </th>	
               <td><input type="text" name="gbEmail" id="gbEmail" class="input w300" value="${gb.gbEmail}"/>  
               <c:choose>
               	<c:when test="${errorEmail}"><span class="red">Email is not format</span></c:when>
               	<c:otherwise><span class="grey">Not Empty(Length < 30)</span></c:otherwise>
               </c:choose>
               </td>
             </tr>
             <tr>
               <th><span class="cred">*</span> Message： </th>	
               <td><textarea name="gbContent" id="textarea"  class="area">${gb.gbContent}</textarea><br/>
               <c:choose>
               	<c:when test="${errorContent}"><span class="red">Message is not format</span></c:when>
               	<c:otherwise><span class="grey">Not Empty(Length < 1000)</span></c:otherwise>
               </c:choose>
               </td>
             </tr>
             <tr>
               <td height="40"></td>	
               <td><input type="submit" name="button3" id="button3" value="提交" /> <input type="reset" name="button3" id="button3" value="重置" /></td>
             </tr>
            </table>
       	</div>
       </div>
     </div>
     <div class="son_left">
     	<%@include file="../include/left-en.jsp" %>
     </div>
     <div class="clearfix"></div>
  </div>
</div>
</form>
<%@include file="../include/footer-en.jsp" %>
</body>
</html>
